﻿using PublicClass;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Services.SheepMale.Domain.PurchaseSales
{
	/// <summary>
	/// 个体销售
	/// </summary>
	[Table("ClientMarket")]
	public class ClientMarket: AuditFields
	{
		/// <summary>
		/// 个体销售编号
		/// </summary>
		[Key]
		public int CM_Id {  get; set; }
		/// <summary>
		/// 销售日期
		/// </summary>
		public DateTime? MarketDate {  get; set; }
		/// <summary>
		/// 单据号
		/// </summary>
		public string? MarketNumber { get; set;}
		/// <summary>
		/// 只数
		/// </summary>
		public int SheepNumber {  get; set; }
		/// <summary>
		/// 客户
		/// </summary>
		public string? MarketClient {  get; set; }
		/// <summary>
		/// 总成交价
		/// </summary>
		public decimal TotalPrice {  get; set; }
		/// <summary>
		/// 审核状态
		/// </summary>
		public int ExamineType {  get; set; }
		/// <summary>
		/// 部门
		/// </summary>
		public string ?DepartmentId {  get; set; }
		/// <summary>
		/// 收货地址
		/// </summary>
		public string ? MarketAddress {  get; set; }
		/// <summary>
		/// 销售人
		/// </summary>
		public string?　MarketPeople { get; set; }
		/// <summary>
		/// 审核人
		/// </summary>
		public string ? ExamineBy { get; set; }
		/// <summary>
		/// 审核时间
		/// </summary>
		public DateTime? ExamineDate { get; set; }

	}
}
